﻿using System;
using System.Collections;

namespace Pap.Web.Modules.Loan.Views
{
    /// <summary>
    /// 
    /// </summary>
    public partial class InstallmentsReschedulePrint : System.Web.UI.Page
    {

        /// <summary>
        /// Gets the reschduling installments list.
        /// </summary>
        public IEnumerable ReschdulingInstallmentsList
        {
            get { return Session["ReschdulingInstallmentsList"] as IEnumerable; }
        }
        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            grv.DataSource = ReschdulingInstallmentsList;
            grv.DataBind();
        }
    }
}
